home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-3189 / spx_show.doc next >
Text File  |  1985-11-19  |  12KB  |  243 lines

  1. A new era in ST graphics is born, the new era is
  2.  
  3.                        SPECTRUM 512 EXTENDED FORMAT
  4.  
  5. Concept by Gizmo of Electronic Images.
  6. Programming by The Phantom of Electronic Images.
  7.  
  8. Check the 'CONTRIBUTORS' section to check on further contributions.
  9.  
  10. Thanks to Russ Payne for testing and fixing an STE problem (this was with the 
  11. original (Gizmo's) SPX show).
  12.  
  13. Also, thanks to Bertrand Petit for suggestions (see bottom).
  14.  
  15.  
  16. Electronic Images is a part of The Inner Circle.
  17.  
  18. This program is public domain and can be freely distributed; as long as these 
  19. documentations and the programs are supplied together in an unmodified form.
  20. You may include the SPX shower program on its own with your SPX pictures.
  21.  
  22. Ice packer is public domain and is a very nice packer indeed - ice packer is 
  23. programmed by Axe of Delight.
  24. Atomik packer is by Altair of VMAX/MCS - this has the best compression of all 
  25. packers we have tried, and is fast too!
  26. Thanks to Russ Payne for the internal packer.
  27.  
  28. Spectrum 512 (C) Antic Publishing.
  29.  
  30.  
  31. YOU SHOULD HAVE:
  32. SPX_V18 .PRG - The actual display program (Whichever version!).
  33. SPX_SHOW.DOC - This document.
  34. UPDATE  .DOC - The update news.
  35. SYNCTEST.PRG - The program which tells you if you're in sync or not.
  36.  
  37.  
  38. SECTION 1 - History.
  39.  
  40.   Here's how the Spectrum 512 extended format was born: some time ago Gizmo 
  41. made a naughty picture that was over 3 screens high (it was called 
  42. STACEY.PRG) and it featured a new concept in screen pictures; you scrolled up 
  43. and down the picture to see the rest.  A while after that The Phantom did 
  44. some Spectrum 512 display routines, which gizmo used in his GFA Basic V3 
  45. programs to display pictures and do some incredible effects playing about 
  46. with the palette.  Then he had an idea: "What about the same kind of picture 
  47. format as STACEY, but in 512 colours?".  And thus was born BABY.PRG, a 3 
  48. screen high Spectrum 512 picture!  He then went on with this fab idea to do a 
  49. conversion program that allows you to display Spectrum 512 pictures at any 
  50. size (I.e. these could be from 1 to an infinite amount high, depending on 
  51. memory available).  The Phantom saw this program working (the first version 
  52. of SPX shower) and said "Hmm...  How about if I remove the top and bottom 
  53. borders?  It'll make it look much nicer!"  And thus, what even The Phantom 
  54. thought was impossible, was achieved.  After long hours in his trusty Devpac 
  55. 2 assembler, the Phantom achieved it: Spectrum 512 pictures at an amazing 
  56. resolution of 320x276!!  And thus, the EXTENDED SPX SHOWER was born.  Gizmo's 
  57. file format allows you to have full 512 colour pictures, any size, scrolling 
  58. at 50 frames per second (real smooth) and at a resolution of 320x276.
  59.  
  60.  
  61. SECTION 2 - Limitations.
  62.  
  63. SPX SHOW will *NOT* work on a mono monitor!
  64.  
  65.   The Phantom here, giving some of you programmers some specs.  Because of 
  66. the high amount of processing involved in displaying the picture (even more 
  67. than normal to keep the 320x276 resolution), you don't have much CPU time 
  68. left. You have about 7% left of the total processor time, which is enough for 
  69. a soundchip music driver (a decent one!) and some other stuff going on, but 
  70. sice the entire screen is taken up with a picture, there's not much you can 
  71. do except scroll it!  Also, with some modification, I realised that you can 
  72. free 60 or so cycles per scanline.  I thought that you can play a decent 4 
  73. channel digital soundrack at that point at 16Khz, but the amount of registers 
  74. you have free is extremely limited, and looking at that, the only one which I 
  75. see fast enough to do that anyway is Mr Music (our own 4 channel player). 
  76. Also, I could have put in pixel-by-pixel scrolling, but that would have 
  77. knocked out 7 pixels off the vertical resolution, and for the picture's sake 
  78. I left that idea in the waste bin.
  79.  
  80.  
  81. SECTION 3 - Using the shower program.
  82.  
  83. For best results, it is best to switch your ST off for about ten seconds. 
  84. This procedure will sync the shifter chip properly - I.e. there will be no 
  85. funny dots in the picture (this is no big deal but it happens when the 
  86. shifter chip on your ST is not syncronised properly).  So, for best results, 
  87. do the above procedure.
  88. I have now included a sync program that I found in one of my PD compilation 
  89. disks.  This program does NOT syncronise the chip, just tells you if it is 
  90. syncronised properly:  If you see white bands going down the screen, then it 
  91. is.  If not, switch off the ST again and do the above procedure.  It is best 
  92. to put the program in the AUTO folder.  Please note that the ST remains 
  93. sycronised even after reset, but NOT if you switch your machine off.  If it 
  94. is switched off, then it might or might not de-sync - do the above to re-sync 
  95. it!
  96. Acknowledgements go to the unknown programmer of the sync program.
  97.  
  98.   Since this shower program is done in 100% machine code and uses no GEM 
  99. functions, you can install it in the AUTO folder to give you about 80K extra 
  100. of memory (that's about 2 extra screens).  Also, you can remove TURBO ST 
  101. since it uses its own screen driver, and TURBO ST isn't as fast as the one 
  102. used in the program (and you get more memory too!).
  103.   This SPX shower will NOT corrupt any accessories or resident programs - it 
  104. even has a little leeway for naughty ones too!
  105.   When the program has loaded, you are presented with a medium-rez screen 
  106. telling you how much memory you have free, how many screens you have for that 
  107. memory, and some other bits.
  108.  
  109. Using the file selector...
  110.  
  111. (The Phantom here)
  112.   Since I kicked GEM in the teeth (to make the program work in an AUTO 
  113. folder) I trashed the normal file selector and put in one of mine.  When the 
  114. program boots up or comes back from displaying a picture, it reads the 
  115. current directory.  To choose a file you use the cursor keys to move the 
  116. highlighted box around, and pressing INSERT or RETURN to select the file.  If 
  117. you want to swap disks you can change the disk (not while it is reading the 
  118. directory!) and then press 'R' to reread the directory.  Folders are 
  119. denominated by a star before them, as in *FOLDER.FOL.  To go in the folder 
  120. just select it.  To go one folder out you select the *.. folder.
  121.   You can also use the mouse to select the desired file, with the left mouse 
  122. button being used to load it.
  123.   At any point in the file selector you can press 'Q' to quit the shower 
  124. program.
  125.  
  126. Near the top you will see the connected drives.  Pressing keys A to P will 
  127. select the drive.  So, for example, if you want to select drive E then just 
  128. press 'E'!
  129.  
  130. Pressing the 'V' key in the file selector will display the current picture in 
  131. memory; note that this won't work when you've just loaded the program (there 
  132. is no picture in memory then!).  Please note that on latter ST's (like STE's) 
  133. the files are stored in a cache and when you return from viewing a picture it 
  134. will re-view it again and again.  To avoid this, make sure your disk has more 
  135. than about 15 files on it, or, if it happens, just keep pressing spacebar 
  136. until it stops.  The Phantom is still working on the problem so we must 
  137. caution anyone with TOS version 1.4 or above.
  138.  
  139. When the SPX picture has been loaded, you will get it displayed onscreen. Use 
  140. the up and down arrow keys, the plus and minus keys on the keypad or the 
  141. mouse to scroll up and down the picture, so you can see the rest of it.  When 
  142. you're done ogling, press the spacebar or hit the right mouse button to 
  143. return to the file selector.
  144.  
  145. Pressing the HELP key at any time in the file selector will display a help 
  146. screen, with all the available keys.
  147.  
  148.  
  149. Limitations.
  150.  
  151. (Phantom here)
  152.  
  153. The program will not work properly with MINT (the multitasking OS).  The main 
  154. loader part will, but due to technical reasons the display program will take 
  155. over the whole of the machine and chew up all the processing.  I have not 
  156. tested this, but I reckon that outside the display routine, it should work 
  157. reasonably under a multitasker.
  158.  
  159. To my knowledge, this program works on every make of ST.  It will NOT work on 
  160. a TT or an accelerated ST, since these knacker the display routine.  If you 
  161. have any ST in which the program doesn't work, contact me (The Phantom) at 
  162. the address below and I will try my best to solve the problem.
  163.  
  164. This is not a limitation, but I might as well mention it!  I have put in some 
  165. pretty extensive error handling in the program - perhaps too much actually. 
  166. It can recover if you take a disk out mid-load, put another in etc etc.  You 
  167. CAN crash it if you're real mean, but be assured that it won't crash at all 
  168. in normal operation, even if disk errors occur.
  169.  
  170.  
  171. SECTION 4 - Contributors.
  172. Since my plea of help in version 1.3 about logical drive swapping, I received 
  173. a letter from Bertrand Petit (A.K.A. Elrond the half-elf) of Imladris BBS in 
  174. France (Tel: +33 1 45 46 22 27) stating some facts about the way GEMDOS 
  175. treats logical drive swapping.  With this information, a few minutes later I 
  176. had logical drive swapping in the SPX shower!
  177. Bertrand also stated that I was checking keyboard scancodes as his 'A' key 
  178. was being read as a 'Q' key - that would lead to some confusion for other 
  179. keyboard configurations.  He was right!  I have now changed the offensive 
  180. part and it should be hunky dory!
  181. Also he suggested a help screen, so I put one in.  Thanks to Bertrand you now 
  182. have drive swapping and a help screen available too!  Thanks!
  183. Also a big hug to Lasse Eldrup of X-Factor BBS for creating his own (oo!) SPX 
  184. pictures!  Hope you find the new versions better!
  185.  
  186.  
  187. SECTION 5 - Bits 'n' bobs.
  188.  
  189. If anyone is interested in displaying their own SPX pictures, contact The 
  190. Phantom at the address below, and he will provide you with either an assembly 
  191. language driver or a GFA Basic V3 driver.  You do not need to mention us when 
  192. you use it in your work, since it's bloody obvious when you see a 320x276 
  193. spectrum picture!!!
  194.  
  195. Programs used in developing this:
  196.  
  197. (Gizmo) GFA BASIC V3 and GIFSPC.PRG converter by Steve Belczyk (THE best 
  198. converter around), and some assorted PC paint programs.
  199. (The Phantom) GFA BASIC V3 (THE best basic!), Turbo Assembler and Devpac 2.
  200.  
  201. THe Phantom or Gizmo can be contacted either via Contact BBS
  202. (London, England.  Tel: +44 (081) 646 0746) 9PM to 8AM UK time or (via mail)
  203.  
  204. The Phantom,
  205. 21 Bledlow House,
  206. Capland Street,
  207. LONDON NW8 8RU.
  208.  
  209. Oh, and one thing:  if you want anything, be kind and send me a disk to put 
  210. it on!!  It's a real downer when I have to cannibalise yet ANOTHER disk.
  211.  
  212.  
  213. Have fun and enjoy this amazing picture format!
  214.  
  215.  
  216. Note from the authors: (Gizmo mainly!)  The SPX picture format will be 
  217. supported in our later productions (which involve any kind of graphics), 
  218. including enhancements that will not only please, but enlighten too! 
  219.  
  220.  
  221. Other Electronic Images software tools:
  222. SCREAM_3.PRG - A screen grabber with a search memory option.
  223. DISK.PRG     - A disk archiver (a disk to file program).
  224. MAPMAKE.PRG  - A 32x32 mapmaker as used in the Decade Demo.
  225. FONTSAVE.PRG - A multi-bitplane image block saver (!).
  226. MR_MUSIC.PRG - The fastest most versatile 4 channel digital sound driver.
  227.                Currently in development is Version 2 (28% CPU at 16Khz).
  228.                Contact The Phantom for the program/details.
  229.  
  230. Members of Electronic Images are:
  231.  
  232. Gizmo.
  233.   The Phantom.
  234.     Nightowl.
  235.       Count Zero.
  236.         Griff.
  237.           Master.
  238.  
  239.  
  240. This has been another Electronic Images software production!
  241.  
  242.  
  243.